Correctness of Mutual Exclusion Algorithms
نویسندگان
چکیده
One way of characterizing non-token-based mutual exclusion (m.e.) algorithms is in terms of the underlying information structure. The information structure for a given m.e. algorithm specifies which particular processes interact with which other processes before entering their critical sections, and which processes they interact with when leaving their critical sections. By focusing on the information structure of an m.e. algorithm, we can compare different algorithms by comparing the respective information structures. Further, we can characterize the correctness of an m.e. algorithm in terms of conditions that its information structure must satisfy. In this paper, we propose a necessary and sufficient condition for ensuring the correctness of the m.e. algorithm and show that this condition is superior to the currently accepted condition.
منابع مشابه
Proving Correctness of Distributed Algorithms a Petri Net Approach
In this paper we argue that high-level Petri nets are well suited for the representation of distributed algorithms as well as for correctness proofs. A variant of Raymond's message-passing mutual exclusion algorithm serves as an example. Its proof uses techniques that beneet from the syntactical representation of the algorithms in form of a Petri net.
متن کاملA Delay-Optimal Quorum-Based Mutual Exclusion Algorithm for Distributed Systems
ÐThe performance of a mutual exclusion algorithm is measured by the number of messages exchanged per critical section execution and the delay between successive executions of the critical section. There is a message complexity and synchronization delay trade-off in mutual exclusion algorithms. The Lamport algorithm and the Ricart-Agrawal algorithm both have a synchronization delay of T (T is th...
متن کاملModeling and Verification of a Dynamic Information Structure Distributed Mutual Exclusion Algorithm Using Spin
In a distributed system, mutual exclusion is a condition which ensures that a shared resource in the system can be accessed by one and only one process at a time. Mutual exclusion ensures that only one process can be in its critical section at a time. Many distributed mutual exclusion algorithms have been proposed and verified [1][2][3][4][5]. In this paper, we have modeled and verified the dyn...
متن کاملA Delay-Optimal Quorum-Based Mutual Exclusion Scheme with Fault-Tolerance Capability
The performance of a mutual exclusion algorithm is measured by the number of messages exchanged per critical section execution and the delay between successive executions of the critical section. There is a message complexity and synchronization delay trade-oo in mutual exclusion algorithms. Lamport's algorithm and Ricart-Agrawal algorithm both have a synchronization delay of T, but their messa...
متن کاملA Mutual Exclusion Algorithm for Ad Hoc Mobile Networks
A fault-tolerant distributed mutual exclusion algorithm that adjusts to node mobility is presented, along with proof of correctness and simulation results. The algorithm requires nodes to communicate with only their current neighbors, making it well-suited to the ad hoc environment. Experimental results indicate that adaptation to mobility can improve performance over that of similar non-adapti...
متن کامل